package com.ruoyi.finance.livestreaming.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 数字直播礼物表
 * </p>
 *
 * @author wangmh
 * @since 2023-10-11
 */
@TableName("sz_gift")
@ApiModel(value = "SzGift对象", description = "数字直播礼物表")
public class SzGiftMP implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("平台价格/金币")
    @TableField("platform_price")
    private BigDecimal platformPrice;

    @ApiModelProperty("真实价格/元")
    @TableField("real_price")
    private BigDecimal realPrice;

    @ApiModelProperty("图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty("分类")
    @TableField("type")
    private String type;

    @ApiModelProperty("标签")
    @TableField("lable")
    private String lable;

    @ApiModelProperty("是否上架")
    @TableField("is_listing")
    private String isListing;

    @ApiModelProperty("上架时间")
    @TableField("up_listing_date")
    private LocalDateTime upListingDate;

    @ApiModelProperty("下架时间")
    @TableField("under_listing_date")
    private LocalDateTime underListingDate;

    @ApiModelProperty("是否支持连击")
    @TableField("is_double_click")
    private String isDoubleClick;

    @ApiModelProperty("是否有赠送动画")
    @TableField("is_animation")
    private String isAnimation;

    @ApiModelProperty("赠送动画地址")
    @TableField("animation_url")
    private String animationUrl;

    @ApiModelProperty("排序")
    @TableField("porder")
    private Integer porder;

    public Integer getPorder() {
        return porder;
    }

    public void setPorder(Integer porder) {
        this.porder = porder;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public BigDecimal getPlatformPrice() {
        return platformPrice;
    }

    public void setPlatformPrice(BigDecimal platformPrice) {
        this.platformPrice = platformPrice;
    }
    public BigDecimal getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(BigDecimal realPrice) {
        this.realPrice = realPrice;
    }
    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getLable() {
        return lable;
    }

    public void setLable(String lable) {
        this.lable = lable;
    }
    public String getIsListing() {
        return isListing;
    }

    public void setIsListing(String isListing) {
        this.isListing = isListing;
    }
    public LocalDateTime getUpListingDate() {
        return upListingDate;
    }

    public void setUpListingDate(LocalDateTime upListingDate) {
        this.upListingDate = upListingDate;
    }
    public LocalDateTime getUnderListingDate() {
        return underListingDate;
    }

    public void setUnderListingDate(LocalDateTime underListingDate) {
        this.underListingDate = underListingDate;
    }
    public String getIsDoubleClick() {
        return isDoubleClick;
    }

    public void setIsDoubleClick(String isDoubleClick) {
        this.isDoubleClick = isDoubleClick;
    }
    public String getIsAnimation() {
        return isAnimation;
    }

    public void setIsAnimation(String isAnimation) {
        this.isAnimation = isAnimation;
    }
    public String getAnimationUrl() {
        return animationUrl;
    }

    public void setAnimationUrl(String animationUrl) {
        this.animationUrl = animationUrl;
    }

    @Override
    public String toString() {
        return "SzGift{" +
            "id=" + id +
            ", name=" + name +
            ", platformPrice=" + platformPrice +
            ", realPrice=" + realPrice +
            ", icon=" + icon +
            ", type=" + type +
            ", lable=" + lable +
            ", isListing=" + isListing +
            ", upListingDate=" + upListingDate +
            ", underListingDate=" + underListingDate +
            ", isDoubleClick=" + isDoubleClick +
            ", isAnimation=" + isAnimation +
            ", animationUrl=" + animationUrl +
        "}";
    }
}
